{{each data.list as item index}}
  {{if id ==5}}
    {{if index == data.list.length-1}}
       <li data-id="{{item.id}}" data-order="{{item.order}}" data-parentId="{{item.parentId}}"  data-siteurl="{{item.siteUrl}}">
          <div class="" style="background-image:url({{item.image}})"></div>
          <p>{{item.name}}</p>
        </li>
    {{/if}}
  {{else}}
  <li data-id="{{item.id}}" data-order="{{item.order}}" data-parentId="{{item.parentId}}"  data-siteurl="{{item.siteUrl}}">
          <div class="" style="background-image:url({{item.image}})"></div>
          <p>{{item.name}}</p>
        </li>
  {{/if}}
{{/each}}